Optimal. Leaf size=25 \[ \frac {(A b-a B) \log (a+b x)}{b^2}+\frac {B x}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {43} \[ \frac {(A b-a B) \log (a+b x)}{b^2}+\frac {B x}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin {align*} \int \frac {A+B x}{a+b x} \, dx &=\int \left (\frac {B}{b}+\frac {A b-a B}{b (a+b x)}\right ) \, dx\\ &=\frac {B x}{b}+\frac {(A b-a B) \log (a+b x)}{b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.00 \[ \frac {(A b-a B) \log (a+b x)}{b^2}+\frac {B x}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 25, normalized size = 1.00 \[ \frac {B b x - {\left (B a - A b\right )} \log \left (b x + a\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.05, size = 27, normalized size = 1.08 \[ \frac {B x}{b} - \frac {{\left (B a - A b\right )} \log \left ({\left | b x + a \right |}\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 32, normalized size = 1.28 \[ \frac {A \ln \left (b x +a \right )}{b}-\frac {B a \ln \left (b x +a \right )}{b^{2}}+\frac {B x}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.06, size = 26, normalized size = 1.04 \[ \frac {B x}{b} - \frac {{\left (B a - A b\right )} \log \left (b x + a\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 25, normalized size = 1.00 \[ \frac {B\,x}{b}+\frac {\ln \left (a+b\,x\right )\,\left (A\,b-B\,a\right )}{b^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.37, size = 20, normalized size = 0.80 \[ \frac {B x}{b} - \frac {\left (- A b + B a\right ) \log {\left (a + b x \right )}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________